package com.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.pojo.Commodity;

@Repository("CommodityDao")
@Mapper
public interface CommodityDao {

	public int addCommodity(Commodity commodity);
	public int deleteCommodityForId(Integer commodity_id);
	public Commodity selectCommodityForId(Integer commodity_id);
	public List<Commodity> selectAllCommodity();
}
